import request from '@/utils/request'

// 所有权限列表
export function rightsList(type) {
  return request({
    url: '/rights/' + type,
    method: 'get'
  })
}
